package demo;
public class Dog extends Animal {
    public Dog(int age,String name) {
        super(age,name);
    }
    @Override
    public void eat(){
        System.out.println(name+age+"吃狗粮");
    }
}
